package indi.yangshenhui.spring.pojo;

import java.io.Serializable;
import java.util.Date;

public class StudentPojo implements Serializable {
	private static final long serialVersionUID = 9085157529494426745L;

	private Integer id;
	private String name;
	private Integer age;
	private Date birthday;

	public StudentPojo() {
	}

	public StudentPojo(Integer id, String name, Integer age, Date birthday) {
		super();
		this.id = id;
		this.name = name;
		this.age = age;
		this.birthday = birthday;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	@Override
	public String toString() {
		return "StudentPojo [id=" + id + ", name=" + name + ", age=" + age
				+ ", birthday=" + birthday + "]";
	}

}